package com.ruoyi.purchase.service;

import java.util.List;
import com.ruoyi.purchase.domain.ProcOrderDetail;

/**
 * 采购订单明细Service接口
 * 
 * @author ruoyi
 * @date 2025-06-17
 */
public interface IProcOrderDetailService 
{
    /**
     * 查询采购订单明细
     * 
     * @param detailId 采购订单明细主键
     * @return 采购订单明细
     */
    public ProcOrderDetail selectProcOrderDetailByDetailId(Long detailId);

    /**
     * 查询采购订单明细列表
     * 
     * @param procOrderDetail 采购订单明细
     * @return 采购订单明细集合
     */
    public List<ProcOrderDetail> selectProcOrderDetailList(ProcOrderDetail procOrderDetail);

    /**
     * 新增采购订单明细
     * 
     * @param procOrderDetail 采购订单明细
     * @return 结果
     */
    public int insertProcOrderDetail(ProcOrderDetail procOrderDetail);

    /**
     * 修改采购订单明细
     * 
     * @param procOrderDetail 采购订单明细
     * @return 结果
     */
    public int updateProcOrderDetail(ProcOrderDetail procOrderDetail);

    /**
     * 批量删除采购订单明细
     * 
     * @param detailIds 需要删除的采购订单明细主键集合
     * @return 结果
     */
    public int deleteProcOrderDetailByDetailIds(String detailIds);

    /**
     * 删除采购订单明细信息
     * 
     * @param detailId 采购订单明细主键
     * @return 结果
     */
    public int deleteProcOrderDetailByDetailId(Long detailId);
}
